<template>
  <div class="sign-container">
    <login-header></login-header>
    <!-- 背景 -->
    <div class="background"></div>
    <!-- 表单域 -->
    <div class="sign_box">
      <!-- 输入框 -->
      <el-form>
        <sign-form></sign-form>
      </el-form>
    </div>
  </div>
</template>

<script>
import SignForm from '@/components/signUp/signForm';
import LoginHeader from '@/components/LoginHeader';
export default {
  name: 'Sign-Up',
  components: {
    // Avatar,
    SignForm,
    LoginHeader,
  },
};
</script>
<style lang="less" scoped>
.sign-container {
  height: 100%;
  min-width: 500px;
  padding-top: 6px;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #fff;
  .background {
    // width: 690px;
    height: 100%;
    background: url('../assets/login.png') 50% no-repeat;
    background-size: auto 447px;
  }
  .sign_box {
    width: 450px;
    height: 570px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 57px 0 rgb(52 120 246 / 33%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -44%);
    .title {
      position: absolute;
      left: 50%;
      top: 5px;
    }
    .signForm {
      position: absolute;
      box-sizing: border-box;
      width: 100%;
      bottom: 0px;
      padding: 0 30px;
    }

    .avatar-box {
      width: 350px;
      height: 50px;
    }
  }
}
</style>
